<?php
/**
 * 定义日志管理菜单
 * @link https://ym2.cleverstone.top
 * @copyright Copyright (c) 2020 Yii Manager Software LLC
 */
return [
    'name' => '日志和记录',
    'category' => 'MENU',
    'link' => 'app.module.log',
    'icon' => 'bi bi-file-text',
    'children' => [
        [
            'name' => '应用日志',
            'category' => 'MENU',
            'link' => 'log/app',
            'icon' => 'bi bi-database',
            'is_quick' => 1,
            'desc' => '查看应用日志',
            'children' => [
                [
                    'name' => '默认站位',
                    'category' => 'FN',
                    'link' => 'log.app.default',
                ],
                [
                    'name' => '查看日志内容',
                    'category' => 'FN',
                    'link' => 'log/app-message',
                    'desc' => '查看日志内容',
                ],
                [
                    'name' => '删除五个月以前',
                    'category' => 'FN',
                    'link' => 'log/delete',
                    'desc' => '删除五个月以前的日志数据',
                ],
            ],
        ],
        [
            'name' => '操作日志',
            'category' => 'MENU',
            'link' => 'log/operation',
            'icon' => 'bi bi-filetype-txt',
            'is_quick' => 1,
            'desc' => '查看操作日志列表',
            'children' => [
                [
                    'name' => '默认站位',
                    'category' => 'FN',
                    'link' => 'log.operation.default',
                ],
                [
                    'name' => '删除五个月以前',
                    'category' => 'FN',
                    'link' => 'log/odelete',
                    'desc' => '删除五个月以前的操作日志数据',
                ],
            ],
        ],
        [
            'name' => '短信记录',
            'category' => 'MENU',
            'link' => 'record/sms',
            'icon' => 'bi bi-phone',
            'is_quick' => 1,
            'desc' => '查看短信记录',
            'children' => [
                [
                    'name' => '默认站位',
                    'category' => 'FN',
                    'link' => 'record.sms.default',
                ],
                [
                    'name' => '查看短信内容',
                    'category' => 'FN',
                    'link' => 'record/sms-content',
                    'desc' => '查看短信内容',
                ],
                [
                    'name' => '删除五个月以前',
                    'category' => 'FN',
                    'link' => 'record/sms-delete',
                    'desc' => '删除五个月以前的短信记录',
                ],
            ],
        ],
        [
            'name' => '邮件记录',
            'category' => 'MENU',
            'link' => 'record/email',
            'icon' => 'bi bi-envelope-at',
            'is_quick' => 1,
            'desc' => '查看邮件记录',
            'children' => [
                [
                    'name' => '默认站位',
                    'category' => 'FN',
                    'link' => 'record.email.default',
                ],
                [
                    'name' => '查看邮件内容',
                    'category' => 'FN',
                    'link' => 'record/email-content',
                    'desc' => '查看邮件内容',
                ],
                [
                    'name' => '删除五个月以前',
                    'category' => 'FN',
                    'link' => 'record/email-delete',
                    'desc' => '删除五个月以前的邮件记录',
                ],
            ],
        ],

    ],
];